package com.dstation.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dstation.domain.VideoInfo;
import com.dstation.domain.vo.AnalysisData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VideoDataAnalysisInfoMapper {
    List<AnalysisData> selectBrowserData(@Param("userId")long userId,@Param("pageSize") int pageSize);

    List<AnalysisData> selectLikedData(@Param("userId")long userId,@Param("pageSize") int pageSize);

    List<AnalysisData> selectCollectData(@Param("userId")long userId, @Param("pageSize")int pageSize);




    VideoInfo selectVideoById(@Param("videoId") long videoId);

    List<AnalysisData> selectCommentData(@Param("userId")long userId, @Param("pageSize")int pageSize);

    List<AnalysisData> selectCoinData(@Param("userId")long userId, @Param("pageSize")int pageSize);

    List<AnalysisData> selectBulletChatData(@Param("userId")long userId, @Param("pageSize")int pageSize);

    IPage<AnalysisData> selectAllBrowser(@Param("userId")Long userId, @Param("ipage") Page<Object> objectPage);

    IPage<AnalysisData> selectAllComment(@Param("userId")Long userId, @Param("ipage")Page<Object> objectPage);

    IPage<AnalysisData> selectAllBulletChat(@Param("userId")Long userId, @Param("ipage")Page<Object> objectPage);

    IPage<AnalysisData> selectAllLike(@Param("userId")Long userId, @Param("ipage") Page<Object> objectPage);

    IPage<AnalysisData> selectAllCoin(@Param("userId")Long userId, @Param("ipage") Page<Object> objectPage);

    IPage<AnalysisData> selectAllCollect(@Param("userId")Long userId, @Param("ipage")Page<Object> objectPage);
}
